passing external date variable to a query python

visit shbcf.ru